<?php
class Home_model extends CI_Model {

	public function __construct()
    {
        $this->load->database();
    }
	
	public function get_country()
	{
		$this->db->select('*');
		$this->db->from('country');
		$query = $this->db->get();
		
		return $query->result_array();
	}
	
	public function get_station_tv()
	{
		$this->db->select('*');
		$this->db->from('station_tv');
		$query = $this->db->get();
		
		return $query->result_array();
	}

}